package com.zhiyou100.vo;

import java.util.ArrayList;

public class PageVo<T> {

	private Integer pageSize;
	
	private Integer pageIndex;
	
	private Integer pageCount;
	
	private Integer dataCount;

	private ArrayList<T> list;

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public Integer getPageIndex() {
		return pageIndex;
	}

	public void setPageIndex(Integer pageIndex) {
		this.pageIndex = pageIndex;
	}

	public Integer getPageCount() {
		return pageCount;
	}

	public void setPageCount(Integer pageCount) {
		this.pageCount = pageCount;
	}

	public Integer getDataCount() {
		return dataCount;
	}

	public void setDataCount(Integer dataCount) {
		this.dataCount = dataCount;
	}

	public ArrayList<T> getList() {
		return list;
	}

	public void setList(ArrayList<T> list) {
		this.list = list;
	}

	public PageVo(Integer pageSize, Integer pageIndex, Integer pageCount, Integer dataCount, ArrayList<T> list) {
		super();
		this.pageSize = pageSize;
		this.pageIndex = pageIndex;
		this.pageCount = pageCount;
		this.dataCount = dataCount;
		this.list = list;
	}

	public PageVo() {
		super();
		// TODO Auto-generated constructor stub
	}

	@Override
	public String toString() {
		return "PageVo [pageSize=" + pageSize + ", pageIndex=" + pageIndex + ", pageCount=" + pageCount + ", dataCount="
				+ dataCount + ", list=" + list + "]";
	}
	
	



	
}
